from rest_framework import serializers
from chatLLM.models import ChatAppKey, ChatHistory, OllamaList

class ChatAppKeySerializer(serializers.ModelSerializer):
    class Meta:
        model = ChatAppKey
        fields = '__all__'

class ChatHistorySerializer(serializers.ModelSerializer):
    class Meta:
        model = ChatHistory
        fields = '__all__'

class OllamaListSerializer(serializers.ModelSerializer):
    class Meta:
        model = OllamaList
        fields = '__all__'